<script setup>
import {ref} from 'vue'
let footerlist = ref([
    {id:1,icon:'icon-shouye',path:'/index'},
    {id:2,icon:'icon-jiahao',path:'/release'},
    {id:3,icon:'icon-xiaoxizhongxin',path:'/notice'},
    {id:4,icon:'icon-wode',path:'/my'},
])
</script>

<template>
<div style="height:60px">
   <div class="footer">
    <div class="footer-list">
        <ul>
            <!-- to:跳转的页面的路由地址， -->
            <li v-for="v in footerlist" :key="v.id">
                <router-link :to="v.path">
                    <i class="iconfont" :class="v.icon"></i>
                </router-link>
            </li>
        </ul>
    </div>
   </div>
</div>
</template>

<style scoped>

</style>
